package com.glink.manage.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

/**
* @class: RoleMenuRelaBean
* @author: qiushaoshan
 * @since: 2025-01-07
* @description:
*/
@ApiModel(value="UserRoleRelaBean 对象", description="")
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@TableName("center_user_role_rela")
public class UserRoleRelaBean extends Model<UserRoleRelaBean> {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(name = "name", notes = "主键ID")
    private String id;

    @ApiModelProperty(name = "roleId", notes = "角色ID")
    private String roleId;

    @ApiModelProperty(name = "userId", notes = "用户ID")
    private String userId;

    @ApiModelProperty(name = "createTime", notes = "创建时间")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;
}
